import { install, set } from 'husky';

export default function initHusky() {
  install();
  set('.husky/pre-commit', 'npm run lint-staged');
  set('.husky/commit-msg', 'npx --no-install commitlint --edit $1');
}
